package com.dq.controller.in;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.subscribe.Subscribe;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author luchangtong
 * @Date 2019/12/9 18:27
 */
@Data
@ApiModel("预约查询实体")
public class SubscribeQuery extends BaseAdminQuery {
    @ApiModelProperty("预约单ID")
    @NotNull(message = "预约单ID不能为空")
    public Long subscribeId;
    @ApiModelProperty("拒绝原因")
    @NotBlank(message = "拒绝原因不能为空")
    public String refuse;


    @ApiModelProperty("状态, 预约拒绝接口不需")
    public Subscribe.SubscribeStatus status;
}
